package com.aqiang.core;

import com.aqiang.core.model.IModel;

public abstract class Repository<M extends IModel> {
    protected M mModel;
    protected abstract void createModel();

    public Repository() {
        createModel();
    }

    protected void relseModel(){
        if(mModel != null){
            mModel = null;
        }
    }
}
